projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c898a3
)
GtkStyle: Transform menu accelerators string
author
Carlos Garnacho
<carlosg@gnome.org>
Mon, 8 Nov 2010 00:52:25 +0000
(
01:52
+0100)
committer
Carlos Garnacho
<carlosg@gnome.org>
Sat, 4 Dec 2010 14:38:42 +0000
(15:38 +0100)
gtk/gtkstyle.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstyle.c
b/gtk/gtkstyle.c
index 9aba0fa6eada515eb71e5a94840e803d1d404eee..3a44de64a461164fdd476a809e4203ccb14cab34 100644
(file)
--- a/
gtk/gtkstyle.c
+++ b/
gtk/gtkstyle.c
@@
-1786,6
+1786,8
@@
transform_detail_string (const gchar *detail,
}
else if (strcmp (detail, "menuitem") == 0)
gtk_style_context_add_class (context, "menu");
+ else if (strcmp (detail, "accellabel") == 0)
+ gtk_style_context_add_class (context, "accelerator");
else if (g_str_has_prefix (detail, "cell"))
{
GtkRegionFlags row, col;